package com.aidex.system.service.impl;

import java.util.List;
import com.github.pagehelper.PageInfo;
import com.aidex.common.core.domain.entity.SysUser;
import com.aidex.common.core.domain.entity.SysDept;
import com.aidex.common.core.service.BaseServiceImpl;
import com.aidex.framework.cache.DeptUtils;
import com.aidex.framework.cache.UserUtils;
import org.springframework.stereotype.Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.aidex.system.mapper.SyncEmergencyFlightMapper;
import com.aidex.system.domain.SyncEmergencyFlight;
import com.aidex.system.service.SyncEmergencyFlightService;
import org.springframework.transaction.annotation.Transactional;

/**
 * 重点航班信息Service业务层处理
 * @author wll
 * @email wll
 * @date 2021-10-14
 */
@Service
@Transactional(readOnly = true)
public class SyncEmergencyFlightServiceImpl extends BaseServiceImpl<SyncEmergencyFlightMapper, SyncEmergencyFlight> implements SyncEmergencyFlightService
{
    private static final Logger log = LoggerFactory.getLogger(SyncEmergencyFlightServiceImpl.class);

    /**
     * 获取单条数据
     * @param syncEmergencyFlight 重点航班信息
     * @return 重点航班信息
     */
    @Override
    public SyncEmergencyFlight get(SyncEmergencyFlight syncEmergencyFlight)
    {
        SyncEmergencyFlight dto = super.get(syncEmergencyFlight);
        return dto;
    }

    /**
     * 获取单条数据
     * @param id 重点航班信息id
     * @return 重点航班信息
     */
    @Override
    public SyncEmergencyFlight get(String id)
    {
        SyncEmergencyFlight dto = super.get(id);
        return dto;
    }


    /**
     * 查询重点航班信息列表
     * @param syncEmergencyFlight 重点航班信息
     * @return 重点航班信息
     */
    @Override
    public List<SyncEmergencyFlight> findList(SyncEmergencyFlight syncEmergencyFlight)
    {
        return super.findList(syncEmergencyFlight);
    }

    /**
     * 分页查询重点航班信息列表
     * @param syncEmergencyFlight 重点航班信息
     * @return 重点航班信息
     */
    @Override
    public PageInfo<SyncEmergencyFlight> findPage(SyncEmergencyFlight syncEmergencyFlight)
    {
        return super.findPage(syncEmergencyFlight);
    }

    /**
     * 保存重点航班信息
     * @param syncEmergencyFlight
     * @return 结果
     */
    @Override
    public boolean save(SyncEmergencyFlight syncEmergencyFlight)
    {
        return super.save(syncEmergencyFlight);
    }


    /**
     * 删除重点航班信息信息
     * @param syncEmergencyFlight
     * @return 结果
     */
    @Override
    public boolean remove(SyncEmergencyFlight syncEmergencyFlight)
    {
        return super.remove(syncEmergencyFlight);
    }

    /**
     * 批量删除重点航班信息
     * @param ids 需要删除的重点航班信息ID
     * @return 结果
     */
    @Transactional(readOnly = false)
    @Override
    public int deleteSyncEmergencyFlightByIds(String[] ids)
    {
        return mapper.deleteSyncEmergencyFlightByIds(ids);
    }

}
